<meta charset="UTF-8">

<h1>图片懒加载</h1>
<p><img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.soogif.com%2F7WlqblKuyOik2GvMkFSzhrMgx5zTe4ta.gif&refer=http%3A%2F%2Fimg.soogif.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1653397089&t=59b1ad8bfb7e7d21ca80d9cbe6c42b41" data="./imgs/1.jpg" alt=""></p>
<p><img src="https://img1.baidu.com/it/u=4159631365,168975415&fm=253&fmt=auto&app=138&f=GIF?w=500&h=375" data="./imgs/2.jpg" alt=""></p>
<p><img src="https://img0.baidu.com/it/u=2757080335,717557280&fm=253&fmt=auto&app=138&f=GIF?w=389&h=239" data="./imgs/3.jpg" alt=""></p>
<p><img src="https://img0.baidu.com/it/u=294851612,2172696437&fm=253&fmt=auto&app=138&f=GIF?w=848&h=480" data="./imgs/5.jpg" alt=""></p>
<p><img src="https://img0.baidu.com/it/u=1073231209,507324844&fm=253&fmt=auto&app=138&f=GIF?w=200&h=320" data="./imgs/6.jpg" alt=""></p>
<p><img src="https://img0.baidu.com/it/u=2830126154,236045757&fm=253&fmt=auto&app=138&f=GIF?w=440&h=226" data="./imgs/7.jpg" alt=""></p>
<p><img src="https://img1.baidu.com/it/u=265493419,1087073015&fm=253&fmt=auto&app=138&f=GIF?w=500&h=277" data="./imgs/8.gif" alt=""></p>

<script src="./lazyload.js"></script>
<script>
lazyload();
window.onscroll = lazyload;
</script>